Skip to content

Conversation

hainenber
Copy link
Contributor

@hainenber hainenber commented Oct 5, 2025

Summary

Closes #15779

Fixes regression of reporter import behavior due to unrs-resolver migration and take historical global module path like $HOME/.node_libraries into account.

Test plan

  • Green CI with E2E test extended.
  • Confirmed from affected user.

Copy link

netlify bot commented Oct 5, 2025

Deploy Preview for jestjs ready!

Built without sensitive environment variables

Name Link
🔨 Latest commit 12fedd6
🔍 Latest deploy log https://app.netlify.com/projects/jestjs/deploys/68e20d9020929f00089bb6b2
😎 Deploy Preview https://deploy-preview-15852--jestjs.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

Copy link

pkg-pr-new bot commented Oct 5, 2025

Open in StackBlitz

babel-jest

npm i https://pkg.pr.new/babel-jest@15852

babel-plugin-jest-hoist

npm i https://pkg.pr.new/babel-plugin-jest-hoist@15852

babel-preset-jest

npm i https://pkg.pr.new/babel-preset-jest@15852

create-jest

npm i https://pkg.pr.new/create-jest@15852

@jest/diff-sequences

npm i https://pkg.pr.new/@jest/diff-sequences@15852

expect

npm i https://pkg.pr.new/expect@15852

@jest/expect-utils

npm i https://pkg.pr.new/@jest/expect-utils@15852

jest

npm i https://pkg.pr.new/jest@15852

jest-changed-files

npm i https://pkg.pr.new/jest-changed-files@15852

jest-circus

npm i https://pkg.pr.new/jest-circus@15852

jest-cli

npm i https://pkg.pr.new/jest-cli@15852

jest-config

npm i https://pkg.pr.new/jest-config@15852

@jest/console

npm i https://pkg.pr.new/@jest/console@15852

@jest/core

npm i https://pkg.pr.new/@jest/core@15852

@jest/create-cache-key-function

npm i https://pkg.pr.new/@jest/create-cache-key-function@15852

jest-diff

npm i https://pkg.pr.new/jest-diff@15852

jest-docblock

npm i https://pkg.pr.new/jest-docblock@15852

jest-each

npm i https://pkg.pr.new/jest-each@15852

@jest/environment

npm i https://pkg.pr.new/@jest/environment@15852

jest-environment-jsdom

npm i https://pkg.pr.new/jest-environment-jsdom@15852

@jest/environment-jsdom-abstract

npm i https://pkg.pr.new/@jest/environment-jsdom-abstract@15852

jest-environment-node

npm i https://pkg.pr.new/jest-environment-node@15852

@jest/expect

npm i https://pkg.pr.new/@jest/expect@15852

@jest/fake-timers

npm i https://pkg.pr.new/@jest/fake-timers@15852

@jest/get-type

npm i https://pkg.pr.new/@jest/get-type@15852

@jest/globals

npm i https://pkg.pr.new/@jest/globals@15852

jest-haste-map

npm i https://pkg.pr.new/jest-haste-map@15852

jest-jasmine2

npm i https://pkg.pr.new/jest-jasmine2@15852

jest-leak-detector

npm i https://pkg.pr.new/jest-leak-detector@15852

jest-matcher-utils

npm i https://pkg.pr.new/jest-matcher-utils@15852

jest-message-util

npm i https://pkg.pr.new/jest-message-util@15852

jest-mock

npm i https://pkg.pr.new/jest-mock@15852

@jest/pattern

npm i https://pkg.pr.new/@jest/pattern@15852

jest-phabricator

npm i https://pkg.pr.new/jest-phabricator@15852

jest-regex-util

npm i https://pkg.pr.new/jest-regex-util@15852

@jest/reporters

npm i https://pkg.pr.new/@jest/reporters@15852

jest-resolve

npm i https://pkg.pr.new/jest-resolve@15852

jest-resolve-dependencies

npm i https://pkg.pr.new/jest-resolve-dependencies@15852

jest-runner

npm i https://pkg.pr.new/jest-runner@15852

jest-runtime

npm i https://pkg.pr.new/jest-runtime@15852

@jest/schemas

npm i https://pkg.pr.new/@jest/schemas@15852

jest-snapshot

npm i https://pkg.pr.new/jest-snapshot@15852

@jest/snapshot-utils

npm i https://pkg.pr.new/@jest/snapshot-utils@15852

@jest/source-map

npm i https://pkg.pr.new/@jest/source-map@15852

@jest/test-result

npm i https://pkg.pr.new/@jest/test-result@15852

@jest/test-sequencer

npm i https://pkg.pr.new/@jest/test-sequencer@15852

@jest/transform

npm i https://pkg.pr.new/@jest/transform@15852

@jest/types

npm i https://pkg.pr.new/@jest/types@15852

jest-util

npm i https://pkg.pr.new/jest-util@15852

jest-validate

npm i https://pkg.pr.new/jest-validate@15852

jest-watcher

npm i https://pkg.pr.new/jest-watcher@15852

jest-worker

npm i https://pkg.pr.new/jest-worker@15852

pretty-format

npm i https://pkg.pr.new/pretty-format@15852

commit: 12fedd6

}
throw createConfigError(
` Preset ${chalk.bold(presetPath)} not found relative to rootDir ${chalk.bold(options.rootDir)}.`,
` Preset ${chalk.bold(
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is autogenerated by prettier

: argv.updateSnapshot
? 'all'
: 'new';
? 'all'
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ditto

@hainenber hainenber changed the title fix: support custom reporters in legacy module path $HOME/.node_libraries fix(jest-config): support custom reporters in legacy module path $HOME/.node_libraries Oct 5, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Bug]: Reporters are not loaded from global folders
1 participant